package org.moonshot.cvm;

import org.moonshot.chatty.parse.MethodScope;

public class CVMMethod
{
	public final MethodScope scope;
	public final String      name;
	public final CVMBinary   source;
	public final int         pcInit;
	public final boolean     usesFullBlock;
	public final int         params;
	public final int         temps;
	
	public CVMMethod(String aName, MethodScope aScope, CVMBinary aSource, int aInit, int nParams, int nTemps, boolean useFullBlock)
	{
		name = aName;
		scope = aScope;
		source = aSource;
		pcInit = aInit;
		params = nParams;
		temps = nTemps;
		usesFullBlock = useFullBlock;
	}
}
